Create the Actions to be executed when the Task runs.
#Include <TaskScheduler.au3>
_TS_Wrapper_ActionCreate($oTaskDefinition, $sPath, $sWorkingDirectory = "", $sArguments = "")
Parameters
| $oTaskDefinition | Task Definition object as returned by _TS_Wrapper_TaskCreate |
| $sPath | Path to an executable file |
| $sWorkingDirectory | [optional] Directory that contains either the executable file or the files that are used by the executable file |
| $sArguments | [optional] Arguments pased to the executable file |
Return Value
Success: 1
Remarks
Populates the Action object
Related
Example
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#AutoIt3Wrapper_AU3Check_Stop_OnWarning=y
#AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <MsgBoxConstants.au3>
MsgBox($MB_ICONINFORMATION, "Task Scheduler UDF", "Please check example script _TS_Wrapper_TaskCreate.au3 for an example!")